Says whether the room’s zoomable background repeats past the edge of its picture. It starts as false: past the edge the screen’s own color shows.
Works differently on Game Boy - The Game Boy decides this when the game is built: the picture goes round past its edge at its own size if the room's code says zoom_background_repeat(true) in plain words, and shows black past its edge if not.
Works differently on Game Boy Color - The Game Boy Color decides this when the game is built: the picture goes round past its edge at its own size if the room's code says zoom_background_repeat(true) in plain words, and shows black past its edge if not.
Sega Genesis: not available
On other consoles this differs: see Side by side and How the consoles differ.
zoom_background_repeat(repeat)| Name | Type |
|---|---|
repeat | bool |
Nothing.
Says whether the room's zoomable background repeats past the edge of its picture. It does nothing in a room that has no zoomable background.
A zoomable background starts without repeating: past the picture's edge the screen's own color shows. true makes the picture tile like a floor, which is what an endless ground wants. This is the console's own switch for this kind of picture, so it costs nothing (no rectangle window). The next room starts without repeating again.
For a picture made with background_create, use background_repeat.
// Create event of the object that runs the map screen. The ground goes on for ever.
zoom_background_repeat(true);Makes the map's picture tile in every direction.
A no-op in a room that has no zoomable background. This one is the console’s own switch for a zoomable picture, so it costs nothing (no rectangle window). true makes the picture tile like a floor, which is what an endless ground wants; the next room starts without repeating again.